Elementor\Core\Files\Uploads_Manager S

Total Complexity 40
Dependencies 7
Dependents 1
Total lines 386
Lines of code 146
Logical lines of code 81
Comment lines 174
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
extract_and_validate_zip()
S
58 4 15
validate_file()
S
58 4 15
get_allowed_file_extensions()
S
63 4 11
save_base64_to_tmp_file()
S
59 3 15
remove_directory_with_files()
S
62 3 11
handle_elementor_upload()
S
64 3 10
handle_elementor_wp_media_upload()
S
64 3 10
get_temp_dir()
S
63 3 10
register_file_types()
S
65 2 9
remove_file_or_dir()
S
70 2 7
are_unfiltered_uploads_enabled()
S
71 2 6
add_file_extension_to_allowed_extensions_list()
S
68 2 7
is_elementor_wp_media_upload()
S
79 1 3
create_unique_dir()
S
73 1 5
create_temp_file()
S
72 1 5
get_file_type_handlers()
S
79 1 3
__construct()
S
75 1 4